let http = require('http')
// var mysql  = require('mysql');
// var connection = mysql.createConnection({
//     host:'db',
//     user:'zhufeng',
//     password:'123456',
//     database:'node'
// })
// connection.connect()

let server = http.createServer((req,res)=>{
    res.end('2')
    // connection.query("select 1+1 sa solution", function (error, results, fields) {
    //     if (error) throw error;
    //     res.end(''+results[0].solution);
    // })
})
server.listen(3000)